package com.itheima.service;

import com.itheima.dto.SetmealDto;
import com.itheima.pojo.Setmeal;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.support.PageResult;
import com.itheima.support.QueryPageBean;
import com.itheima.support.Result;
import com.itheima.vo.SetmealVO;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {

    //保存和修改
    boolean saveSetmeal(SetmealVO setmealVO);

    //分页查询
    PageResult findByPage(QueryPageBean pageBean);

    /**
     * 清理垃圾
     **/
    public void clearOssPic();

    /**
     * H5 部分
     * @param setmealId
     * @return
     */
    SetmealDto detail(Long setmealId);
}
